package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 *持久层接口
 */
public interface UserMapper {
    //查询所有
    @Select("select * from user")
    List<User> findAll() throws Exception;
}
